@import url("https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Montserrat:wght@400;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #762d2d;
  --primary-light: #8b3a3a;
  --primary-dark: #5a2222;
  --secondary-color: #f8f9fa;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --white: #ffffff;
  --light-gray: #f4f4f4;
  --border-color: #e9ecef;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--light-gray);
  color: var(--text-dark);
  line-height: 1.6;
}
h2,
h3 {
  font-size: 25px;
  margin-bottom: 0px;
}
p {
  margin-bottom: 0px;
}
h1.welcome-title {
  margin-bottom: 0px;
}
.dashboard-container {
  display: flex;
  min-height: 100vh;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.logo {
  font-size: 24px;
  font-family: auto;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  background-color: #fff;
  border-radius: 50px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: end;
}

.user-dropdown {
  position: relative;
  display: inline-block;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--primary-color);
}

/* Search Icon (your style) */
.search-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #762d2d;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  color: #762d2d;
  transition: background 0.2s;
}
.search-icon:hover {
  background: rgba(118, 45, 45, 0.08);
}

/* Overlay Styling */
.search-overlay {
  position: fixed;
  inset: 0; /* top:0; left:0; right:0; bottom:0 */
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
  align-items: center;
}

/* Search Box */
.search-box {
  position: relative;
  width: 90%;
  max-width: 600px;
}

.search-box input {
  width: 100%;
  padding: 16px 50px 16px 20px;
  font-size: 18px;
  border: none;
  border-radius: 50px;
  outline: none;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  font-size: 24px;
  background: none;
  border: none;
  color: #762d2d;
  cursor: pointer;
  outline: none;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 1000;
  min-width: 100px;
  padding: 8px 0;
}

.dropdown-item {
  padding: 0px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #333;
  text-decoration: none;
}

.dropdown-item:hover {
  background-color: #f5f5f5;
}

.nav-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Show dropdown on hover */
.user-dropdown:hover .dropdown-menu {
  display: block;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  background: #863737;
  padding: 0px 8px;
  border-radius: 5px;
}

/* Sidebar */
.sidebar {
  width: 280px;
  background: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  left: 0;
  top: 10%;
  height: calc(100vh - 121px);
  overflow-y: auto;
  transition: transform 0.3s ease;
  z-index: 999;
}

.sidebar.collapsed {
  transform: translateX(-100%);
}

.nav-menu {
  list-style: none;
  padding: 20px 0;
}

.nav-item {
  margin: 5px 0;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 25px;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  background: linear-gradient(90deg, rgba(118, 45, 45, 0.1), transparent);
  border-left-color: var(--primary-color);
  color: var(--primary-color);
}

.nav-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Main Content */
.main-content {
  flex: 1;
  margin-left: 280px;
  margin-top: 5%;
  padding: 30px;
  transition: margin-left 0.3s ease;
}

.main-content.expanded {
  margin-left: 0;
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

/* Dashboard Section */
.welcome-card {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  color: var(--white);
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.welcome-title {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
}

.welcome-subtitle {
  font-size: 16px;
  opacity: 0.9;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #d5d5d5;
}

.stat-card {
  background: var(--white);
  padding: 15px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-title {
  font-size: 16px;
  color: var(--text-light);
  font-weight: 500;
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.stat-value {
  font-size: 25px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
}

/* Current Course Progress */
.current-course-card,
.teacher-deails-info {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}
.teacher-deails-info {
  text-align: center;
  padding: 15px;
}

.current-course-card-main {
  display: block;
  gap: 25px;
}

.course-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.course-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.course-info h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.course-info p {
  color: var(--text-light);
  font-size: 14px;
}

.progress-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.progress-chart {
  position: relative;
}

#progressCanvas {
  border-radius: 50%;
}

.progress-details {
  flex: 1;
}

.progress-item {
  text-align: center;
  margin-bottom: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.progress-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.progress-label {
  font-weight: 500;
  color: var(--text-dark);
}

.progress-value {
  color: var(--primary-color);
  font-weight: 600;
}

.continue-btn {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  color: var(--white);
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.continue-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* All Courses Section */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.course-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.course-card-header {
  padding: 25px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 15px;
}

.course-card-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-card-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.course-card-body {
  padding: 25px;
}

.course-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.course-description {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.course-status {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 15px;
}

.status-active {
  background: rgba(40, 167, 69, 0.1);
  color: var(--success-color);
}

.status-completed {
  background: rgba(118, 45, 45, 0.1);
  color: var(--primary-color);
}

.status-upcoming {
  background: rgba(255, 193, 7, 0.1);
  color: var(--warning-color);
}

.course-action {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-continue {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  color: var(--white);
}

.btn-certificate {
  background: linear-gradient(135deg, var(--success-color), #34ce57);
  color: var(--white);
}

.btn-upcoming {
  background: var(--light-gray);
  color: var(--text-light);
  cursor: not-allowed;
}

.course-action:hover:not(.btn-upcoming) {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Teachers Section */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.teacher-card {
  background: var(--white);
  padding: 25px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teacher-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.teacher-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 600;
  margin: 0 auto 20px;
}

.teacher-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.teacher-subject {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 15px;
}

.teacher-contact {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.teacher-contact:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Profile Section */
.profile-container {
  max-width: 600px;
  margin: 0 auto;
}

.profile-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.profile-header {
  text-align: center;
  margin-bottom: 30px;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 600;
  margin: 0 auto 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  color: var(--white);
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Certificates Section */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.certificate-card {
  background: var(--white);
  padding: 25px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.certificate-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--success-color), #34ce57);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.certificate-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.certificate-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.certificate-date {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 20px;
}

.btn-download {
  background: linear-gradient(135deg, var(--success-color), #34ce57);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: var(--white);
  margin: 12% auto;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  box-shadow: var(--shadow-hover);
  position: relative;
}

.close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-light);
}

.close:hover {
  color: var(--text-dark);
}

.teacher-deails-info img {
  width: 200px;
  height: 200px;
  filter: drop-shadow(1px 1px 2px #ddd);
  border-radius: 50%;
  margin: 15px 0;
}
.teacher-deails-info h3 {
  text-align: center;
}

.dashboard-main-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.current-all-courses {
  width: 58%;
  border-right: 1px solid #d5d5d5;
  padding: 20px 30px 0px 0px;
}
.current-course-card {
  margin: 15px 0px 25px;
}
.current-course-card-main {
  width: 42%;
  padding-top: 20px;
}
/* Course Cards */
h2.jz-db-section-title {
  padding-bottom: 15px;
  padding-left: 5px;
}
.jz-db-course-card {
  border: 1px solid #72282850;
  border-radius: 15px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 0 12px rgba(114, 45, 45, 0.05);
  margin-bottom: 20px;
  transition: transform 0.2s;
}

.jz-db-course-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(114, 45, 45, 0.1);
}
.jz-db-course-title {
  color: #722828;
  font-weight: 600;
}
.jz-db-course-card p {
  padding: 15px 0px;
}
a.btn.btn-sm.jz-db-btn-outline {
  color: white;
  text-decoration: none;
  background: #762d2d;
  padding: 5px 15px;
  border-radius: 10px;
}
.header-layout6 .container {
  max-width: 100%;
  padding-left: 2%;
  padding-right: 2%;
}
.start-learning-btn {
  background-color: #762d2d;
  color: #fff;
  border: none;
  padding: 8px 18px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.start-learning-btn:hover {
  background-color: #5e1f1f;
  transform: translateY(-2px);
}

.sh-cart-icon {
  transform: translateX(0px) !important;
}

a#dropdownMenuLink1 {
  color: #000;
}

.main-menu ul li:has(.sub-menu) > a.dropdown:after {
  transform: rotate(270deg);
}

a.dropdown.mob {
  font-size: 12px;
}

a.dropdown.mob::after {
  display: none !important;
}

.th-mobile-menu ul .th-item-has-children > a.dropdown .th-mean-expand {
  top: 60%;
  font-size: 8px;
  width: 20px;
  height: 20px;
  line-height: 20px;
}

li.courses-mob-dropdowns ul li a {
  font-size: 12px;
}

.sjz-start-learning {
  display: none !important;
}
header.th-header.header-layout6 {
  position: fixed;
  width: 100%;
  z-index: 9999;
}
.sticky-wrapper {
  border-bottom: 1px solid #e3e3e3;
}
header.th-header.header-layout6 .container {
  max-width: 100% !important;
}

/* Certificate CSS Start*/

.certificate-container {
  width: 100%;
  max-width: 900px;
  margin: 30px auto;
  background-color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.certificate-border {
  border: 15px solid #762d2d;
  position: relative;
  padding: 20px;
}

.arabic-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(/User/assets/Media/caligraphy.webp);
  background-size: 100px;
  opacity: 0.15;
  z-index: 0;
  background-repeat: repeat;
}

.certificate-content {
  position: relative;
  z-index: 1;
  text-align: center;
  height: auto;
}

.logo {
  width: 100px;
}

img.logo {
  position: absolute;
  left: 0px;
  background: #ffffff;
  border-radius: 5px;
  box-shadow: 0px 0px 10px #b9b9b9;
}

.title {
  font-family: "Amiri", serif;
  color: #000000;
  font-size: 28px;
  margin: 0px;
}

.subtitle {
  font-family: "Amiri", serif;
  color: #555;
  font-size: 18px;
  margin-bottom: 30px;
}

.arabic-title {
  font-family: "Amiri", serif;
  font-size: 28px;
  color: #333;
  margin: 0px;
  direction: rtl;
  word-spacing: -8px;
}

.recipient-name {
  font-size: 30px;
  font-weight: bold;
  color: #762d2d;
  margin: 20px 0 0px;
  border-bottom: 2px solid #d4a76a;
  padding-bottom: 15px;
  display: inline-block;
}

.certificate-text {
  font-size: 16px;
  line-height: 1.6;
  color: #762d2d;
  font-style: italic;
  font-weight: 300;
  margin: 20px 0px;
}

.course-name {
  font-weight: bold;
  color: #762d2d;
  font-size: 24px;
  border-bottom: 2px solid #d4a76a;
  padding-bottom: 15px;
  display: inline-block;
}

.date {
  font-size: 16px;
  color: #000000;
  font-weight: bold;
}

.signatures {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.signature {
  position: relative;
  margin: 20px;
  color: #000 !important;
}

img.signature1 {
  position: absolute;
  width: 100px !important;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
}

img.signature2 {
  width: 80px;
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
}

.signature-line {
  width: 200px;
  height: 1px;
  background-color: #333;
  margin: 5px auto;
}

.signature-name {
  font-weight: bold;
  margin-top: 5px;
}

.main-contentr {
  margin-bottom: 57px;
}

.footer {
  font-size: 14px;
  color: #777;
}

.quran-verse {
  font-family: "Amiri", serif;
  font-size: 20px;
  color: #333;
  margin: 30px 0;
  direction: rtl;
  line-height: 2;
}

.quran-translation {
  font-style: italic;
  margin: 0px;
  color: #762d2d;
}

.seal {
  width: 100px;
  position: absolute;
  bottom: 0px;
  right: 20px;
  opacity: 0.8;
}

@media print {
  .certificate-container {
    box-shadow: none;
    margin: 0;
    width: 100%;
  }
}
@media screen and (max-width: 1399px) and (min-width: 1200px) {
  header.th-header.header-layout6 .container {
    max-width: 100%;
    padding: 0 1% !important;
  }
  .header-layout6 .main-menu > ul > li {
    margin: 0 5px !important;
  }
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
    .header-layout6 .main-menu > ul > li > a {
        padding: 0px 0;
        font-size: 14px;
    }
    .header-layout6 .main-menu > ul > li {
        margin: 0 5px;
    }
    header .menu-area> .container> .row> div:nth-child(1) {
        width: 45.5%;
    }
    header .menu-area> .container> .row> div:nth-child(2) {
        width: 24.5%;
        display: flex;
    }
    .header-logo.logo-shape1.justify-content-center a img {
        width: 115px !important;
    }
    header .menu-area> .container> .row> div:nth-child(3) {
        width: 30%;
    }
}
@media screen and (max-width:991px) and (min-width:768px){
     .header-layout6 .th-menu-toggle {
          margin: 0px;
          height: 48px;
          width: 48px;
      }
      .header-logo.logo-shape1.justify-content-center a img {
        width: 115px !important;
    }

}

@media (min-width: 849px) {
  .header-main-row {
    align-items: baseline !important;
    max-height: 60px;
    padding-top: 6px;
  }
  .sjz-start-learning {
    display: block !important;
  }
}

/* Responsive Design */
@media (max-width: 767px) {
  .header-logo.logo-shape1.justify-content-center a img {
        width: 115px !important;
   }
   .header-logo.logo-shape1 a {
        margin-top: 0px;
        margin-bottom: 10px;
   }
  .header-layout6 .container {
      max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .top-bar-news {
    padding-top: 1.37% !important;
  }
  .mobile-menu-btn {
    display: block;
  }

  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.show {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
    padding: 20px;
    margin-top: 130px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .progress-container {
    flex-direction: column;
    gap: 20px;
  }

  .courses-grid,
  .teachers-grid,
  .certificates-grid {
    grid-template-columns: 1fr;
  }

  .welcome-title {
    font-size: 17px;
  }

  .user-info span {
    display: none;
  }
  .dashboard-main-content {
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
  .current-all-courses {
    width: 100% !important;
    padding: 20px 0px 0px !important;
    border: none !important;
  }
  .current-course-card-main {
    width: 100% !important;
  }
  .user-info {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: end;
  }
  .user-avatar {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  /* Search Icon (your style) */
  .search-icon {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 0 15px;
  }

  .main-content {
    padding: 15px;
  }

  .welcome-card,
  .current-course-card,
  .teacher-deails-info,
  .stat-card,
  .course-card,
  .teacher-card,
  .certificate-card,
  .profile-card {
    padding: 20px;
  }
}
